package com.chnbst.mbstyun.dao.impl;

import org.springframework.stereotype.Repository;

import com.chnbst.mbstyun.dao.BaseDao;
import com.chnbst.mbstyun.dao.MessageCheckDao;
import com.chnbst.mbstyun.pojo.MessageCheck;

@Repository
public class MessageCheckDaoImpl extends BaseDao<MessageCheck> implements MessageCheckDao {

	@Override
	public void insertMessage(MessageCheck messageCheck) {
		super.save(messageCheck);
	}
	
	@Override
	public MessageCheck selectByToTel(String toTel) {
		 return super.get(toTel);
	}

	@Override
	public void updateMessageCheck(MessageCheck messageCheck) {
		super.update(messageCheck);
	}
}
